<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%--
    This file is an entry point for JavaServer Faces application.
--%>
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="style/xse.css">
            <title>Test Aja</title>
        </head>
        <body>
            <div id="centerFrame">
                <h:form>
                    <h:panelGrid columns="1" cellpadding="5" cellspacing="0">
                        <h:inputText styleClass="input" id="queryText" value="#{clusterSystem.clusterQuery}"/>
						<h:panelGroup>
                            <h:outputLabel for="prepocessing" value="Stop List"/>
                            <h:selectBooleanCheckbox id="prepocessing" value="#{clusterSystem.prepocessing}"
                                                     title="Prepocessing"/>
                            <h:outputLabel for="full_doc" value="Full Document"/>
                            <h:selectBooleanCheckbox id="full_doc" value="#{clusterSystem.fullDoc}"
                                                     title="Full Document"/>
							<h:outputLabel for="snippet" value="Snippet"/>
                            <h:selectBooleanCheckbox id="snippet" value="#{clusterSystem.snippet}"
                                                     title="Snippet"/>
                        </h:panelGroup>
                        <h:commandButton action="#{clusterSystem.clusterQuality}" value="cari" />
                    </h:panelGrid>
                </h:form>
            </div>
        </body>
    </html>
</f:view>
